package com.quwan.manager.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.quwan.entity.Agreement;
import com.quwan.manager.controller.dto.AgreementDto;
import com.quwan.manager.service.IAgreementService;
import com.quwan.mapper.AgreementMapper;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 协议表 服务实现类
 * </p>
 *
 * @author laozhang
 * @since 2022-01-13
 */
@Service
@RequiredArgsConstructor
public class AgreementServiceImpl extends ServiceImpl<AgreementMapper, Agreement> implements IAgreementService {

    private final AgreementMapper agreementMapper;
    @Override
    public List<AgreementDto> selectAgreementDtoList() {
        return agreementMapper.selectAgreementDtoList();
    }
}
